package com.qf.pojo;

import lombok.Data;

import javax.persistence.*;

/**
 * @Author Zhy
 * Date on 2020/10/12  18:20
 * @description
 */
/*
### Medicalhistory【患者病历表】

id,挂号单号(外键),诊断,医嘱,
体格信息:
体温,呼吸,脉搏,血压,身高,体重,血糖,血脂,
病历信息:
发病日期,主诉,现病史,既往史,过敏史,个人史,家族史,辅助检查,治疗意见,备注,属性1,属性2
id,registId,diagnose,prn,
temperature,breathe,pulse,blood,heigth,weight,bloodSugar,bloodLipids,
accidentDate,chiefComplaint,phi,pastHistory,allergic,personal,family,assist,opinion,remarks,
attribute1,attribute2
 */
@Entity
@Data
@Table(name = "medicalhistory")
public class Medicalhistory {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    @Column(name = "registid")
    private String registId;
    private String diagnose;
    private String prn;
    private Double temperature;
    private Double breathe;
    private Double pulse;
    private Double blood;
    private Double heigth;
    private Double weight;
    @Column(name = "bloodsugar")
    private Double bloodSugar;
    @Column(name = "bloodlipids")
    private Double bloodLipids;
    @Column(name = "accidentdate")
    private String accidentDate;
    @Column(name = "chiefcomplaint")
    private String chiefComplaint;
    private String phi;
    @Column(name = "pasthistory")
    private String pastHistory;
    private String allergic;
    private String personal;
    private String family;
    private String assist;
    private String opinion;
    private String remarks;
    private String attribute1;
    private String attribute2;
}
